package com.web.exiaodao.business.repository;

import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import com.web.exiaodao.business.entity.TravelTable;


public interface TravelTableRepository extends
		PagingAndSortingRepository<TravelTable, Long>,
		JpaSpecificationExecutor<TravelTable> {
	public TravelTable findByIdAndStatusNot(Long id,Integer status);
	
	public TravelTable findByTravelItemNameAndStatusNot(String name,Integer status);
	
}
